/* 联系我们 */
.contact {
    background: var(--dark-bg);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.2) 0%, transparent 70%);
    transform: translate(50%, -50%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    padding: 15px;
    border-radius: 10px;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.info-item i {
    font-size: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite alternate;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    position: relative;
    overflow: hidden;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    color: white;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.2);
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-accent);
    transition: var(--transition);
    z-index: -1;
}

.submit-button:hover::before {
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
}

.submit-button i {
    transition: var(--transition);
}

.submit-button:hover i {
    transform: translateX(5px);
}

.info-icon{
    width: 24px;
    height: 24px;
    transition: var(--transition);
    background-size: cover; /* 或者 contain */
    background-position: center;
    background-repeat: no-repeat;
}